<?php
    $name = $_POST['name'];
    $email = $_POST['email'];
    $feedback = $_POST['feedback'];

    //set up some static information
    $toaddress = "asadkhan@semanticnotion.com";

    $subject = "Feedback from website";

    $mailcontent = "Customer name: ".$name. "\n".
                    "Customer email: ".$email. "\n".
                    "Customer comments:\n".$feedback."\n";
    $fromaddress = "From: steve.jobs@apple.com";
    mail($toaddress, $subject, $mailcontent, $fromaddress);
?>
<html>
<head>
<title>Bob's Auto Parts - Feedback Submitted</title>
</head>
<body>
<h1>Feedback submitted</h1>
<p>Your feedback has been sent.</p>
<?php
    echo $name.'<br /> '.$email.'<br /> '.$feedback;
?>
</body>
</html>